<?php

include './header.inc.php';

include './navbar.inc.php';
?>
<script>
    $("#link1").removeClass("active");
    $("#link2").removeClass("active");
    $("#link3").removeClass("active");
    $("#link4").removeClass("active");
    $("#link5").addClass("active");
</script>

<div class="container">
    <div class="col-lg-6 col-lg-offset-3 col-md-6 col-md-offset-3 col-xs-12">
        <form role="form" action="mailsenden.php" id="formMail" method="post">
            <div class="panel-heading"><h3>Kontaktdaten</h3></div>
            <div class="panel-body">
                <div class="form-group">
                    <label for="firma">Firma</label>
                    <input type="text" class="form-control" name="firma" placeholder="Firma">
                </div> 
                <div class="form-group">
                    <label for="vorname">Vorname</label><label class="haveto">*</label>
                    <input type="text" class="form-control" required name="vorname" placeholder="Vorname">
                </div> 
                <div class="form-group">
                    <label for="nachname">Nachname</label><label class="haveto">*</label>
                    <input type="text" class="form-control" required name="nachname" placeholder="Nachname">
                </div> 
                <div class="form-group">
                    <label for="pizza">Email-Adresse</label><label class="haveto">*</label>
                    <input type="email" class="form-control" required name="pizza" placeholder="Email-Adresse">
                </div> 
                <div class="form-group">
                    <label for="tel">Telefon</label>
                    <input type="tel" class="form-control" name="tel" placeholder="Telefonnummer">
                </div> 
            </div>
            <div class="panel-heading"><h3>Anfrage</h3></div>
            <div class="panel-body">
                <div class="form-group">
                    <label for="anliegen">Anliegen</label><label class="haveto">*</label><br>
                    <select name="anliegen"  style="color: black;" required>
                        <option value="Feedback">Feedback ans Entwicklerteam</option>
                        <option value="defekt QR">Defekten QR-Code melden</option>
                        <option value="Fehler">Fehler melden</option>
                        <option value="Fragen">Fragen ans Entwickler Team</option>
                    </select> 
                </div>
                <div class="form-group">
                    <label for="nachricht">Nachricht</label><label class="haveto">*</label>
                    <textarea class="form-control" required name="nachricht"></textarea>
                </div> 
                <!--nicht sichtbares Email-Eingabefeld um sich vor Spam zuschuetzen-->
                <div class="form-group nosee">
                    <label for="email">Ihre eMail wird nicht abgefragt, tragen Sie auch hier bitte NICHTS ein:</label>
                    <input id="email" name="email" size="60" value="" />
                </div>
                <button type="reset" class="btn btn-default btn-block">löschen</button>
                <button type="submit" class="btn btn-danger btn-block">eMail senden</button>
            </div>
        </form>  
    </div>
</div>
<?php

include './footer.inc.php';
